package ro.myApp.commons.basic;

import java.util.List;

/**
 * @author anamaria
 * @version 1.0
 * @created 20-feb.-2010 01:12:14
 */

public interface Composit<E> {
	
	public boolean isLeaf();

	public void setLeaf(boolean leaf);

	public boolean isRoot();

	public void setRoot(boolean root);

	public E getParent();
	
	public void setParent(E parent);
	
	public List<E> getChildren();
	
	public void setChildren(List<E> children);

}